home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / std / c++ / 525 < prev    next >
Encoding:
Text File  |  1996-08-06  |  1.3 KB  |  35 lines

  1. Path: chronicle.mti.sgi.com!austern
  2. From: jonathan.k.armstrong@cdev.com (J. Karl Armstrong)
  3. Newsgroups: comp.std.c++,comp.lang.c++,comp.lang.c++.moderated
  4. Subject: template typedef
  5. Date: 16 Feb 1996 16:11:04 PST
  6. Organization: Computing Devices Int.
  7. Approved: austern@isolde.mti.sgi.com
  8. Message-ID: <jonathan.k.armstrong-1602961624250001@mac-nro.denver.cdev.com>
  9. NNTP-Posting-Host: isolde.mti.sgi.com
  10. X-Original-Date: Fri, 16 Feb 1996 16:24:25 -0600
  11. X-Auth: PGPMoose V1.1 PGP comp.std.c++
  12.     iQBVAwUBMSUdRUy4NqrwXLNJAQENdwH+Pb4GYWcR17WJ/03JgtX1s7BEOMvZLKjS
  13.     QufjlpxGoyNGkbmv1iPSqdPKWUS1dMrsTYFGoYcdgKHcFDGtGvjiDQ==
  14.     =falK
  15. Originator: austern@isolde.mti.sgi.com
  16.  
  17. Is there any reason why template typedefs are not allowed? Something like:
  18.  
  19. template <class T>
  20. typedef T *GeneralPointer;
  21.  
  22. GeneralPointer<int> iptr;
  23.  
  24. Trivial example, I know, but there are reasons I would like this.
  25.  
  26. -- 
  27. J. Karl Armstrong                            Computing Devices Int.
  28. jonathan.k.armstrong@cdev.com                6041 S. Syracuse Way, Ste 300
  29. (303) 779-7702                               Greenwood Villiage, CO, 80111
  30. (303) 779-7704 (fax)
  31. ---
  32. [ comp.std.c++ is moderated.  Submission address: std-c++@ncar.ucar.edu.
  33.   Contact address: std-c++-request@ncar.ucar.edu.  The moderation policy is
  34.   in http://reality.sgi.com/employees/austern_mti/std-c++/policy.html. ]
  35.